var app = getApp()
var wxParse = require("../../wxParse/wxParse.js")
Page({
  data: {
  },
  onShareAppMessage: function (res) {
    let member_id = app.globalData.userInfo.member_id
    return {
      title: '成纪先锋微平台',
      path: '/pages/mine/xieyi?inviter_id=' + member_id,
      success: function (res) {
        // 转发成功
      },
      fail: function (res) {
        // 转发失败
      }
    }
  },

  onLoad: function (options) {
        app.ajax("contract", { }, (data, err) => {
          wxParse.wxParse("about", "html", data.data.data.content, this)
          this.setData({
            info: data.data,
          })
        })
      

  },


});